﻿//
// Created: 2018/12/15
// Author: chenqiang
//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xproject.Framework.Core;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model.ZXBuiness
{
    public class  ZXProductRate:IEntity
    {

        ///<summary>
        ///
        ///<summary>
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long Product_ZX_Rate_Id  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public string ProductId  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P1Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P2Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P3Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P4Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P5Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P6Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P7Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P8Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public decimal P9Rate  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public DateTime CreateTime  { get; set; } 
       ///<summary>
       ///
       ///<summary>
       public int State  { get; set; } 
         
    
       [NotMapped]
        public long Id { get; set; }

        [NotMapped]
        public EntityState EntityState { get; set; }

        public int CompareTo(object obj)
        {
            throw new NotImplementedException();
        }
    }
}